package com.example.springcloudwinter.feign;

import com.example.springcloudwinter.bo.BusinessBo;
import com.example.springcloudwinter.dto.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "cart-server")
public interface CartFeignClient {

    @PostMapping("/CartController/listCart")
    ResultEntity<?> listCart(@RequestParam("userId")String username, @RequestParam("businessId")int businessId);
}

